Revamp interactive prompts with @clack/prompts - #6
Merged
Conversation
🐸 Bumpy Release Plan1 changeset(s) → 1 package(s) to release 🟡 Minor
This comment is maintained by bumpy. |
theoephraim
force-pushed
the
claude/clack-prompts
branch
from
April 15, 2026 04:58
ca4d5d4 to
dec583c
Compare
Replaces the hand-rolled readline wrapper with @clack/prompts for a much nicer CLI UX — arrow-key navigation, validation, intro/outro framing, spinners, and clean cancellation. Also swaps ansis for picocolors since clack already brings picocolors transitively. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
theoephraim
force-pushed
the
claude/clack-prompts
branch
from
April 15, 2026 05:18
dec583c to
619bead
Compare
Updated the version of '@varlock/bumpy' from minor to patch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
utils/prompt.ts) with@clack/prompts— arrow-key navigation, validation, intro/outro framing, spinners, and clean Ctrl-C cancellationbumpy addinteractive flow to use clack idioms (multiselect with hints, per-package bump select, cascade flow,p.notesummary,p.outro)bumpy migratecleanup prompt in intro/outro with a spinneransis→picocolors(clack already brings picocolors transitively, no point bundling two color libs)cli.tsdispatcher — only 11 commands and 2 are interactive, a CLI framework would be churnTest plan
bun install— clack + picocolors install, ansis removedbun run build— bundles cleanly (~13KB gzipped added for clack)bun test— all 47 tests passbumpy addin a fixture monorepo (multiselect, bump select, cascade flow, summary, name, note + outro)bumpy add --emptyandbumpy add --packages X:patch --message Ystill workbumpy migratecleanup prompt with spinner🤖 Generated with Claude Code